#ifndef FILTERMIDDLE_H
#define FILTERMIDDLE_H
#include "FilterBase.h"



class FilterMiddle : public FilterBase
{
public:

	FilterMiddle (int r);

	virtual Ptr< QImage > process (Ptr< QImage > pSrcImg);

private:

	int _r;
	
	void _sortArr (int * arr, int size);
};

#endif // FILTERMIDDLE_H
